<template>
  <div id="app">
    <h1>验证点目录</h1>
    <router-link :to="{name:'Index'}">首页</router-link>
    <br>
    <router-link :to="{name:'Order'}">订单管理</router-link>
    <br>
    <router-link :to="{name:'User'}">用户管理</router-link>
    <br>
    <router-link :to="{name:'Student'}">学员管理---嵌套路由与复现编程式路由跳转多次点击产生的navigationDuplicated问题
    </router-link><br>
    <router-link :to="{name:'MyDirective'}">自定义指令</router-link>
    <br>
    <router-view/>
    <Footer v-show="$route.meta.show"></Footer>
  </div>
</template>

<script>
import Footer from "./components/Footer.vue";

export default {
  name: 'App',
  components: {Footer}
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
